<?php
include_once(PATH_APP_COMMON . "AuthManager.php");
class Controller_AdminFlashPicture extends Controller_AdminList  {

	protected $_tplForEdit = 'FlashPicture_Create';
	
	function __construct()
	{
		parent::__construct();
		$this->assign("option_cid",$this->model->hashCategory);
	}
	
	protected function _setIndexCondition(&$conditions,&$message){
		
		$search = _gp("search","array");
	
		$exact = array(
			"cid" =>  intval($search['cid']),
		);
		
		$this->assign("search",$search);

		$conditions = $this->phaseConditions($like,$exact,$date,$range);

		!empty($conditions) && $message = "搜索结果:";
	}
}
